package com.lmk.mkcc.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CourseOrderDto {

    @NotNull(message = "课程为空，请选择课程")
    private List<Long> courseIds;

    @NotNull(message = "请选项支付方式")
    private Integer payType;

    private Integer type;

    private String token;
}
